﻿uri = {
	getServices: '/cgi-bin/getServices?ref=',
	currService: '/cgi-bin/currentService',
	rc: '/cgi-bin/rc?',
	zapToPath: '/cgi-bin/zapTo?mode=zap&path=',
	currEPG: '/cgi-bin/getcurrentepg',
	pmt: '/cgi-bin/getPMT',
    eit:'/cgi-bin/getEIT',
};

function getPath(path, params) {
    return SettingsHelper.GetUserAccountForURI() + path + params;
};

function getPathRC(params) {
    console.log(SettingsHelper.GetUserAccountForURI() + uri.receiver + uri.rc + params);
    return SettingsHelper.GetUserAccountForURI() + uri.rc + params;
};

function getPathWithSettings(settings, path, params) {
    return SettingsHelper.GetUserAccountForURI(settings) + path + params;
};